package com.ykq.service;

import com.github.pagehelper.PageInfo;
import com.ykq.entity.Staff;
import com.ykq.vo.StaffVo;

import java.util.List;

/**
 * @program: keyboard
 * @description:
 * @author: 闫克起2
 * @create: 2023-07-20 15:34
 **/
public interface StaffService {

    public Staff findByNameAndPwd(String username,String password);


    /**
     * 分页条件查询
     * @param currentPage
     * @param pageSize
     * @param staffVo
     * @return
     */
    public PageInfo<Staff> findAll(Integer currentPage, Integer pageSize, StaffVo staffVo);
}
